﻿using System.Web;
using System.Web.Optimization;

namespace OT
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
           
            bundles.Add(new ScriptBundle("~/bundles/pagedlist").Include(
                     "~/js/paged-datalist-client.js",
                     "~/js/paged-datalist-vm.js"));

            bundles.Add(new StyleBundle("~/Content/timer").Include("~/css/jquery.countdown.css"));
            bundles.Add(new ScriptBundle("~/bundles/timer").Include(
                "~/js/jquery.countdown.js","~/js/jquery.plugin.js"));
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/js/jquery.js",
                        "~/js/bootstrap.js",
                        "~/js/jquery-ui.js",
                        "~/js/fullcalendar.js",
                        "~/js/jquery.rateit.js",
                        "~/js/jquery.prettyPhoto.js",
                        "~/js/jquery.slimscroll.js",
                        "~/js/jquery.dataTables.js",
                         "~/js/knockout-{version}.js",
                        "~/js/knockout.mapping-latest.debug.js",
                        "~/js/moment.js"));

            bundles.Add(new ScriptBundle("~/bundles/jquery.flot").Include(
                        "~/js/excanvas.js",
                        "~/js/jquery.flot.js",
                        "~/js/jquery.flot.resize.js",
                        "~/js/jquery.flot.pie.js",
                        "~/js/jquery.flot.stack.js"));

            bundles.Add(new ScriptBundle("~/bundles/jquery.noty").Include(
                        "~/js/jquery.noty.js",
                        "~/js/themes/default.js",
                        "~/js/layouts/bottom.js",
                        "~/js/layouts/topRight.js",
                        "~/js/layouts/top.js"));

            bundles.Add(new ScriptBundle("~/bundles/jquery.extra").Include(
                        "~/js/sparklines.js",
                        "~/js/jquery.cleditor.js",
                        "~/js/bootstrap-datetimepicker.js",
                        "~/js/jquery.onoff.js",
                        "~/js/filter.js",
                        "~/js/Chart.js"));

            //bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
            //            "~/js/bootstrap.js"));

            //bundles.Add(new ScriptBundle("~/bundles/pagedlist").Include());

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/respond").Include(
                        "~/js/respond.js"));

            //bundles.Add(new ScriptBundle("~/bundles/timer").Include(
            //            "~/Scripts/jquery.timeTo.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                "~/css/bootstrap.css",
                "~/css/font-awesome.css",
                "~/css/jquery-ui.css",
                "~/css/fullcalendar.css",
                "~/css/prettyPhoto.css",
                "~/css/rateit.css",
                "~/css/bootstrap-datetimepicker.css",
                "~/css/jquery.cleditor.css",
                "~/css/jquery.dataTables.css",
                "~/css/jquery.onoff.css",
                "~/css/style.css",
                "~/css/widgets.css"));

            bundles.Add(new StyleBundle("~/Content/maincss").Include(
                "~/css/bootstrap.css",
                "~/css/main.css",
                "~/css/blue.css",
                "~/css/font-awesome.css"));

            //bundles.Add(new StyleBundle("~/Content/pagedlist").Include("~/Content/PagedList.css"));
            //bundles.Add(new StyleBundle("~/Content/timer").Include("~/Content/timeTo.css"));
        }
    }
}